<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>92Play后台管理</title>
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/css/managercss.css">
<style type="text/css">
body {
	margin:0;
	padding:0;
	background:#EFEFEF;
	overflow: hidden;
}
</style>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/jquery-1.4.min.js"></script>
</head>
<body>
<div class="manage">
	<div class="manageline1"><div class="left"></div><div class="right">登陆帐户：${sessionScope.adminUser.username } &nbsp;当前时间:<span id="timerout"></span></div>
	</div>
	<div class="main">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
		  <tr>
			<td width="15px" valign="top">
				<iframe src="<%=request.getContextPath() %>/manage/left.jsp" scrolling="yes" class="left" frameborder="0" name="leftmenu" id="leftmenu" ></iframe>
			</td>
		    <td width="84%" valign="top">
		    	<iframe src="<%=request.getContextPath() %>/manage/right.jsp" scrolling="yes" class="right" frameborder="0" name="iFrame1" id="iFrame1"></iframe>
		    </td>
		  </tr>
		</table>
	</div>
  <div class="manageBottom">
		Copyright© 2008-2010 深圳市拇指无线科技有限公司<br />
		 <br />
	</div>
</div>
</body>
</html>
<script type="text/javascript">

	$("#iFrame1").load(function(){
		var leftMenu = $("#leftmenu");
		var leftHeight = leftMenu.contents().find("body").height();
		var mainheight = $(this).contents().find("body").height();
		var tempHeight;
		if(mainheight<leftHeight) {tempHeight = leftHeight;}
		else tempHeight = mainheight;
		var mainwidth = window.screen.width-231;
		$(this).height(tempHeight);
		$(this).width(mainwidth);
		leftMenu.height(tempHeight);
	});

	function outtimer(id){
		var myDate = new Date();
		var tmptime=myDate.toLocaleString( );       //获取日期与时间 
		myDate=null;
		var obj1=$("#"+id);
		obj1.html(tmptime);
	}
	setInterval ('outtimer("timerout")',1000);
</script>